package com.ruoyi.project.system.reservation.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.aspectj.lang.annotation.Excel.Type;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 预约记录表 sys_reservation
 * 
 * @author zhangshilin
 * @date 2019-07-16
 */
public class Reservation extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 预约记录id */
	private Integer reservationId;
	/** 教练id */
	private Integer coachId;
	/** 教练名 */
	@Excel(name = "教练名")
	private String coachName;
	/** 教练手机号 */
	@Excel(name = "教练手机号")
	private String coachPhone;
	/** 学员id */
	private Integer userId;
	/** 学员名 */
	@Excel(name = "学员名")
	private String userName;
	/** 学员手机号 */
	@Excel(name = "学员手机号")
	private String userPhone;
	/** 当前天 */
	private String nowDate;
	/** 开始时间 */
	@Excel(name = "开始时间",width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Type.EXPORT)
	private Date statrtTime;
	/** 结束时间 */
	@Excel(name = "结束时间",width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Type.EXPORT)
	private Date endTime;
	/** 状态(0:已预约;1:已练车,2:已取消) */
	@Excel(name = "状态",readConverterExp="0=已预约,1=已练车,2=已取消")
	private String status;
	/** 是否显示 */
	private String isDisable;
	/** 科目(科目二,科目三) */
	@Excel(name = "科目")
	private String subject;
	/** 驾照类型(c1,c2) */
	@Excel(name = "驾照类型")
	private String drivingLicenseType;

	public void setReservationId(Integer reservationId) 
	{
		this.reservationId = reservationId;
	}

	public Integer getReservationId() 
	{
		return reservationId;
	}
	public void setCoachId(Integer coachId) 
	{
		this.coachId = coachId;
	}

	public Integer getCoachId() 
	{
		return coachId;
	}
	public void setCoachName(String coachName) 
	{
		this.coachName = coachName;
	}

	public String getCoachName() 
	{
		return coachName;
	}
	public void setCoachPhone(String coachPhone) 
	{
		this.coachPhone = coachPhone;
	}

	public String getCoachPhone() 
	{
		return coachPhone;
	}
	public void setUserId(Integer userId) 
	{
		this.userId = userId;
	}

	public Integer getUserId() 
	{
		return userId;
	}
	public void setUserName(String userName) 
	{
		this.userName = userName;
	}

	public String getUserName() 
	{
		return userName;
	}
	public void setUserPhone(String userPhone) 
	{
		this.userPhone = userPhone;
	}

	public String getUserPhone() 
	{
		return userPhone;
	}
	public void setNowDate(String nowDate) 
	{
		this.nowDate = nowDate;
	}

	public String getNowDate() 
	{
		return nowDate;
	}
	public void setStatrtTime(Date statrtTime) 
	{
		this.statrtTime = statrtTime;
	}

	public Date getStatrtTime() 
	{
		return statrtTime;
	}
	public void setEndTime(Date endTime) 
	{
		this.endTime = endTime;
	}

	public Date getEndTime() 
	{
		return endTime;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setIsDisable(String isDisable) 
	{
		this.isDisable = isDisable;
	}

	public String getIsDisable() 
	{
		return isDisable;
	}
	public void setSubject(String subject) 
	{
		this.subject = subject;
	}

	public String getSubject() 
	{
		return subject;
	}
	public void setDrivingLicenseType(String drivingLicenseType) 
	{
		this.drivingLicenseType = drivingLicenseType;
	}

	public String getDrivingLicenseType() 
	{
		return drivingLicenseType;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reservationId", getReservationId())
            .append("coachId", getCoachId())
            .append("coachName", getCoachName())
            .append("coachPhone", getCoachPhone())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userPhone", getUserPhone())
            .append("nowDate", getNowDate())
            .append("statrtTime", getStatrtTime())
            .append("endTime", getEndTime())
            .append("status", getStatus())
            .append("isDisable", getIsDisable())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("subject", getSubject())
            .append("drivingLicenseType", getDrivingLicenseType())
            .toString();
    }
}
